<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>OrbbecSDK: /root/libobsensor/include/libobsensor/hpp/Frame.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="orbbec_icon.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OrbbecSDK
   &#160;<span id="projectnumber">1.10.22</span>
   </div>
   <div id="projectbrief">OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_8195f5c0d9a800b311ff87242d342361.html">libobsensor</a></li><li class="navelem"><a class="el" href="dir_551f50d4f6202563ca607f3aa0b67db1.html">hpp</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Frame.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="Frame_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Types_8hpp.html">Types.hpp</a>&quot;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;typeinfo&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">struct </span>FrameImpl;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceob.html">ob</a> {</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">class </span>Device;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keyword">class </span>Sensor;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="keyword">class </span>StreamProfile;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="keyword">class </span>Filter;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="namespaceob.html#aa530dba90a807bee70473e2ddd46f582">   38</a></span>&#160;<span class="keyword">class </span><a class="code" href="classob_1_1FrameHelper.html">FrameHelper</a>;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">typedef</span> std::function&lt;void(void *buffer, void *context)&gt; <a class="code" href="namespaceob.html#aa530dba90a807bee70473e2ddd46f582">BufferDestroyCallback</a>;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classob_1_1Frame.html">   42</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1Frame.html">Frame</a> : <span class="keyword">public</span> std::enable_shared_from_this&lt;Frame&gt; {</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classob_1_1Frame.html#a2683616ec8b3346cf9412051779b9721">   44</a></span>&#160;    std::unique_ptr&lt;FrameImpl&gt; <a class="code" href="classob_1_1Frame.html#a2683616ec8b3346cf9412051779b9721">impl_</a>;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1Frame.html">Frame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <a class="code" href="classob_1_1Frame.html">Frame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="classob_1_1Frame.html">Frame</a>() noexcept;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    virtual <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345">OBFrameType</a> type();</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    virtual <a class="code" href="ObTypes_8h.html#a30904eab1a667b797e7ce1099ba7c36a">OBFormat</a> format();</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    virtual uint64_t index();</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    virtual <span class="keywordtype">void</span> *data();</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    virtual uint32_t dataSize();</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    uint64_t timeStamp();</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    uint64_t timeStampUs();</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    uint64_t systemTimeStamp();</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    uint64_t systemTimeStampUs();</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    uint64_t globalTimeStampUs();</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <span class="keywordtype">void</span> *metadata();</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    uint32_t metadataSize();</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    <span class="keywordtype">bool</span> hasMetadata(<a class="code" href="ObTypes_8h.html#a01cb0467664a132e10ea817a41977c98">OBFrameMetadataType</a> type);</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    int64_t getMetadataValue(<a class="code" href="ObTypes_8h.html#a01cb0467664a132e10ea817a41977c98">OBFrameMetadataType</a> type);</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    std::shared_ptr&lt;<a class="code" href="classob_1_1StreamProfile.html">StreamProfile</a>&gt; getStreamProfile();</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    std::shared_ptr&lt;<a class="code" href="classob_1_1Sensor.html">Sensor</a>&gt; getSensor();</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    std::shared_ptr&lt;<a class="code" href="classob_1_1Device.html">Device</a>&gt; getDevice();</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    template &lt;typename T&gt; <span class="keywordtype">bool</span> is();</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div><div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="classob_1_1Frame.html#ad469213f43249aabce4b96d746527a62">  198</a></span>&#160;    template &lt;typename T&gt; std::shared_ptr&lt;T&gt; as() {</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;        <span class="keywordflow">if</span>(!is&lt;T&gt;()) {</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;            <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">&quot;unsupported operation, object&#39;s type is not require type&quot;</span>);</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        }</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;        <span class="keywordflow">return</span> std::dynamic_pointer_cast&lt;T&gt;(shared_from_this());</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    }</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="classob_1_1Frame.html#a34f7bc7cd29643e53d23b7d500d21739">  207</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classob_1_1Filter.html">Filter</a>;</div><div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="classob_1_1Frame.html#a2950f414c752afb074d9849f834ae58e">  208</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classob_1_1Recorder.html">Recorder</a>;</div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="classob_1_1Frame.html#aed198f6baa08dbce96c148a0a65540c3">  209</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classob_1_1FrameHelper.html">FrameHelper</a>;</div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="classob_1_1Frame.html#a4bed2fe813d6c793ff9dadd249133dab">  210</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classob_1_1CoordinateTransformHelper.html">CoordinateTransformHelper</a>;</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;};</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;</div><div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="classob_1_1VideoFrame.html">  213</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1Frame.html">Frame</a> {</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    ~<a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a>() noexcept <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;    uint32_t width();</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;    uint32_t height();</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    uint8_t pixelAvailableBitSize();</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;};</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;</div><div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="classob_1_1ColorFrame.html">  244</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1ColorFrame.html">ColorFrame</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a> {</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1ColorFrame.html">ColorFrame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1ColorFrame.html">ColorFrame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;    ~<a class="code" href="classob_1_1ColorFrame.html">ColorFrame</a>() noexcept <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;};</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;</div><div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="classob_1_1DepthFrame.html">  253</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1DepthFrame.html">DepthFrame</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a> {</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1DepthFrame.html">DepthFrame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1DepthFrame.html">DepthFrame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    ~<a class="code" href="classob_1_1DepthFrame.html">DepthFrame</a>() noexcept <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;    <span class="keywordtype">float</span> getValueScale();</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;};</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;</div><div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="classob_1_1IRFrame.html">  271</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1IRFrame.html">IRFrame</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a> {</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1IRFrame.html">IRFrame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1IRFrame.html">IRFrame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;    ~<a class="code" href="classob_1_1IRFrame.html">IRFrame</a>() noexcept <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;    <a class="code" href="ObTypes_8h.html#a0bf6f74f3eaabbf4a71720b9363b2aa8">OBSensorType</a> getDataSource();</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;};</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;</div><div class="line"><a name="l00283"></a><span class="lineno"><a class="line" href="classob_1_1PointsFrame.html">  283</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1PointsFrame.html">PointsFrame</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1Frame.html">Frame</a> {</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1PointsFrame.html">PointsFrame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1PointsFrame.html">PointsFrame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;    ~<a class="code" href="classob_1_1PointsFrame.html">PointsFrame</a>() noexcept <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;    <span class="keywordtype">float</span> getPositionValueScale();</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;};</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;</div><div class="line"><a name="l00305"></a><span class="lineno"><a class="line" href="classob_1_1FrameSet.html">  305</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1FrameSet.html">FrameSet</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1Frame.html">Frame</a> {</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1FrameSet.html">FrameSet</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1FrameSet.html">FrameSet</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;    ~<a class="code" href="classob_1_1FrameSet.html">FrameSet</a>() noexcept <span class="keyword">override</span>;</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;    uint32_t frameCount();</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;    std::shared_ptr&lt;DepthFrame&gt; depthFrame();</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;</div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;    std::shared_ptr&lt;ColorFrame&gt; colorFrame();</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;    std::shared_ptr&lt;IRFrame&gt; irFrame();</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;    std::shared_ptr&lt;PointsFrame&gt; pointsFrame();</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;    std::shared_ptr&lt;Frame&gt; getFrame(<a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345">OBFrameType</a> frameType);</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;    std::shared_ptr&lt;Frame&gt; getFrame(<span class="keywordtype">int</span> index);</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;    <span class="comment">// Declare Pipeline and Filter classes as friends</span></div><div class="line"><a name="l00366"></a><span class="lineno"><a class="line" href="classob_1_1FrameSet.html#af9f0f1adbd5baee7830839447205af8d">  366</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classob_1_1Pipeline.html">Pipeline</a>;</div><div class="line"><a name="l00367"></a><span class="lineno"><a class="line" href="classob_1_1FrameSet.html#a34f7bc7cd29643e53d23b7d500d21739">  367</a></span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classob_1_1Filter.html">Filter</a>;</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;};</div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;</div><div class="line"><a name="l00374"></a><span class="lineno"><a class="line" href="classob_1_1AccelFrame.html">  374</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1AccelFrame.html">AccelFrame</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1Frame.html">Frame</a> {</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1AccelFrame.html">AccelFrame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1AccelFrame.html">AccelFrame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;    ~<a class="code" href="classob_1_1AccelFrame.html">AccelFrame</a>() noexcept <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;</div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;    <a class="code" href="structOBAccelValue.html">OBAccelValue</a> value();</div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;    <span class="keywordtype">float</span> temperature();</div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;};</div><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;</div><div class="line"><a name="l00400"></a><span class="lineno"><a class="line" href="classob_1_1GyroFrame.html">  400</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1GyroFrame.html">GyroFrame</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1Frame.html">Frame</a> {</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1GyroFrame.html">GyroFrame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;</div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1GyroFrame.html">GyroFrame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;    ~<a class="code" href="classob_1_1GyroFrame.html">GyroFrame</a>() noexcept <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;</div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;    <a class="code" href="structOBAccelValue.html">OBGyroValue</a> value();</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;</div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;    <span class="keywordtype">float</span> temperature();</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;};</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;</div><div class="line"><a name="l00426"></a><span class="lineno"><a class="line" href="classob_1_1RawPhaseFrame.html">  426</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1RawPhaseFrame.html">RawPhaseFrame</a> : <span class="keyword">public</span> <a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a> {</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1RawPhaseFrame.html">RawPhaseFrame</a>(<a class="code" href="classob_1_1Frame.html">Frame</a> &amp;frame);</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classob_1_1RawPhaseFrame.html">RawPhaseFrame</a>(std::unique_ptr&lt;FrameImpl&gt; impl);</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;    ~<a class="code" href="classob_1_1RawPhaseFrame.html">RawPhaseFrame</a>() noexcept <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;};</div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;</div><div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="classob_1_1FrameHelper.html">  438</a></span>&#160;<span class="keyword">class </span><a class="code" href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a> <a class="code" href="classob_1_1FrameHelper.html">FrameHelper</a> {</div><div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;    <span class="keyword">static</span> std::shared_ptr&lt;Frame&gt; createFrame(<a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345">OBFrameType</a> type, <a class="code" href="ObTypes_8h.html#a30904eab1a667b797e7ce1099ba7c36a">OBFormat</a> format, uint32_t width, uint32_t height, uint32_t strideBytes);</div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;</div><div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;    <span class="keyword">static</span> std::shared_ptr&lt;Frame&gt; createFrameFromBuffer(<a class="code" href="ObTypes_8h.html#a30904eab1a667b797e7ce1099ba7c36a">OBFormat</a> format, uint32_t width, uint32_t height, uint8_t *buffer, uint32_t bufferSize,</div><div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;                                                        BufferDestroyCallback destroyCallback, <span class="keywordtype">void</span> *destroyCallbackContext);</div><div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;</div><div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;    <span class="keyword">static</span> std::shared_ptr&lt;FrameSet&gt; createFrameSet();</div><div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;</div><div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> pushFrame(std::shared_ptr&lt;Frame&gt; frameSet, <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345">OBFrameType</a> frameType, std::shared_ptr&lt;Frame&gt; frame);</div><div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;</div><div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> setFrameSystemTimestamp(std::shared_ptr&lt;Frame&gt; frame, uint64_t systemTimestamp);</div><div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;</div><div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> setFrameDeviceTimestamp(std::shared_ptr&lt;Frame&gt; frame, uint64_t deviceTimestamp);</div><div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;</div><div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;    <span class="keyword">static</span> <span class="keywordtype">void</span> setFrameDeviceTimestampUs(std::shared_ptr&lt;Frame&gt; frame, uint64_t deviceTimestampUs);</div><div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;};</div><div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;</div><div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;<span class="comment">// Define the is() template function for the Frame class</span></div><div class="line"><a name="l00512"></a><span class="lineno"><a class="line" href="classob_1_1Frame.html#ae6ce510d6e741d3f46ec34d475074b6f">  512</a></span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt; <span class="keywordtype">bool</span> <a class="code" href="classob_1_1Frame.html#ae6ce510d6e741d3f46ec34d475074b6f">Frame::is</a>() {</div><div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;    <span class="keywordflow">switch</span>(this-&gt;type()) {</div><div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a6ba1bbc1b9427f2c67e2acc4b282112c">OB_FRAME_IR_LEFT</a>:   <span class="comment">// Follow</span></div><div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a04652540e40f05d30c2480c198c404c8">OB_FRAME_IR_RIGHT</a>:  <span class="comment">// Follow</span></div><div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345af12ee95e3a3735b7fe1b8edac31f1cb5">OB_FRAME_IR</a>:</div><div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1IRFrame.html">IRFrame</a>) || <span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a>));</div><div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345afd7131a04efd09113d4bbda956d34a3f">OB_FRAME_DEPTH</a>:</div><div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1DepthFrame.html">DepthFrame</a>) || <span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a>));</div><div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a95a48824dfa906c01912a603237dd33f">OB_FRAME_COLOR</a>:</div><div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1ColorFrame.html">ColorFrame</a>) || <span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a>));</div><div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a4b4153b3e7fdaaef53473ec4f6c5342e">OB_FRAME_GYRO</a>:</div><div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1GyroFrame.html">GyroFrame</a>));</div><div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a1b86d0b5c396fa511d1844acae6044fa">OB_FRAME_ACCEL</a>:</div><div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1AccelFrame.html">AccelFrame</a>));</div><div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345abd18356aa65d9f1990ed709dfab07f9e">OB_FRAME_SET</a>:</div><div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1FrameSet.html">FrameSet</a>));</div><div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345ac922cae0440ba2aaf672ca230d19c75b">OB_FRAME_POINTS</a>:</div><div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1PointsFrame.html">PointsFrame</a>));</div><div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;    <span class="keywordflow">case</span> <a class="code" href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345aaf7f8572008aafe3537584545d886b99">OB_FRAME_RAW_PHASE</a>:</div><div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;        <span class="keywordflow">return</span> (<span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1RawPhaseFrame.html">RawPhaseFrame</a>) || <span class="keyword">typeid</span>(T) == <span class="keyword">typeid</span>(<a class="code" href="classob_1_1VideoFrame.html">VideoFrame</a>));</div><div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;    <span class="keywordflow">default</span>:</div><div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;        std::cout &lt;&lt; <span class="stringliteral">&quot;ob::Frame::is() did not catch frame type: &quot;</span> &lt;&lt; (int)this-&gt;type() &lt;&lt; std::endl;</div><div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;        <span class="keywordflow">break</span>;</div><div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;    }</div><div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;}</div><div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;}  <span class="comment">// namespace ob</span></div><div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345a04652540e40f05d30c2480c198c404c8"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a04652540e40f05d30c2480c198c404c8">OB_FRAME_IR_RIGHT</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00207">ObTypes.h:207</a></div></div>
<div class="ttc" id="classob_1_1CoordinateTransformHelper_html"><div class="ttname"><a href="classob_1_1CoordinateTransformHelper.html">ob::CoordinateTransformHelper</a></div><div class="ttdef"><b>Definition:</b> <a href="Utils_8hpp_source.html#l00013">Utils.hpp:13</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a01cb0467664a132e10ea817a41977c98"><div class="ttname"><a href="ObTypes_8h.html#a01cb0467664a132e10ea817a41977c98">OBFrameMetadataType</a></div><div class="ttdeci">enum ob_frame_metadata_type OBFrameMetadataType</div></div>
<div class="ttc" id="ObTypes_8h_html_a30904eab1a667b797e7ce1099ba7c36a"><div class="ttname"><a href="ObTypes_8h.html#a30904eab1a667b797e7ce1099ba7c36a">OBFormat</a></div><div class="ttdeci">OBFormat</div><div class="ttdoc">Enumeration value describing the pixel format. </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00216">ObTypes.h:216</a></div></div>
<div class="ttc" id="classob_1_1Recorder_html"><div class="ttname"><a href="classob_1_1Recorder.html">ob::Recorder</a></div><div class="ttdef"><b>Definition:</b> <a href="RecordPlayback_8hpp_source.html#l00023">RecordPlayback.hpp:23</a></div></div>
<div class="ttc" id="classob_1_1Frame_html"><div class="ttname"><a href="classob_1_1Frame.html">ob::Frame</a></div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00042">Frame.hpp:42</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345a4b4153b3e7fdaaef53473ec4f6c5342e"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a4b4153b3e7fdaaef53473ec4f6c5342e">OB_FRAME_GYRO</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00205">ObTypes.h:205</a></div></div>
<div class="ttc" id="classob_1_1FrameSet_html"><div class="ttname"><a href="classob_1_1FrameSet.html">ob::FrameSet</a></div><div class="ttdoc">Define the FrameSet class, which inherits from the Frame class. </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00305">Frame.hpp:305</a></div></div>
<div class="ttc" id="classob_1_1VideoFrame_html"><div class="ttname"><a href="classob_1_1VideoFrame.html">ob::VideoFrame</a></div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00213">Frame.hpp:213</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345aaf7f8572008aafe3537584545d886b99"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345aaf7f8572008aafe3537584545d886b99">OB_FRAME_RAW_PHASE</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00208">ObTypes.h:208</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345a95a48824dfa906c01912a603237dd33f"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a95a48824dfa906c01912a603237dd33f">OB_FRAME_COLOR</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00200">ObTypes.h:200</a></div></div>
<div class="ttc" id="structOBAccelValue_html"><div class="ttname"><a href="structOBAccelValue.html">OBAccelValue</a></div><div class="ttdoc">Data structures for accelerometers and gyroscopes. </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00635">ObTypes.h:635</a></div></div>
<div class="ttc" id="classob_1_1Filter_html"><div class="ttname"><a href="classob_1_1Filter.html">ob::Filter</a></div><div class="ttdoc">The Filter class is the base class for all filters in the SDK. </div><div class="ttdef"><b>Definition:</b> <a href="Filter_8hpp_source.html#l00027">Filter.hpp:27</a></div></div>
<div class="ttc" id="namespaceob_html"><div class="ttname"><a href="namespaceob.html">ob</a></div><div class="ttdef"><b>Definition:</b> <a href="Context_8hpp_source.html#l00016">Context.hpp:16</a></div></div>
<div class="ttc" id="classob_1_1Device_html"><div class="ttname"><a href="classob_1_1Device.html">ob::Device</a></div><div class="ttdef"><b>Definition:</b> <a href="Device_8hpp_source.html#l00029">Device.hpp:29</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345a6ba1bbc1b9427f2c67e2acc4b282112c"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a6ba1bbc1b9427f2c67e2acc4b282112c">OB_FRAME_IR_LEFT</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00206">ObTypes.h:206</a></div></div>
<div class="ttc" id="classob_1_1StreamProfile_html"><div class="ttname"><a href="classob_1_1StreamProfile.html">ob::StreamProfile</a></div><div class="ttdef"><b>Definition:</b> <a href="StreamProfile_8hpp_source.html#l00022">StreamProfile.hpp:22</a></div></div>
<div class="ttc" id="classob_1_1Sensor_html"><div class="ttname"><a href="classob_1_1Sensor.html">ob::Sensor</a></div><div class="ttdef"><b>Definition:</b> <a href="Sensor_8hpp_source.html#l00031">Sensor.hpp:31</a></div></div>
<div class="ttc" id="classob_1_1RawPhaseFrame_html"><div class="ttname"><a href="classob_1_1RawPhaseFrame.html">ob::RawPhaseFrame</a></div><div class="ttdoc">Define the RawPhaseFrame class, which inherits from the VideoFrame class. </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00426">Frame.hpp:426</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a0bf6f74f3eaabbf4a71720b9363b2aa8"><div class="ttname"><a href="ObTypes_8h.html#a0bf6f74f3eaabbf4a71720b9363b2aa8">OBSensorType</a></div><div class="ttdeci">OBSensorType</div><div class="ttdoc">Enumeration value describing the sensor type. </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00162">ObTypes.h:162</a></div></div>
<div class="ttc" id="classob_1_1PointsFrame_html"><div class="ttname"><a href="classob_1_1PointsFrame.html">ob::PointsFrame</a></div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00283">Frame.hpp:283</a></div></div>
<div class="ttc" id="Types_8hpp_html"><div class="ttname"><a href="Types_8hpp.html">Types.hpp</a></div><div class="ttdoc">Provides SDK structure and enumeration constant definitions (depending on libobsensor/h/ObTypes.h). </div></div>
<div class="ttc" id="namespaceob_html_aa530dba90a807bee70473e2ddd46f582"><div class="ttname"><a href="namespaceob.html#aa530dba90a807bee70473e2ddd46f582">ob::BufferDestroyCallback</a></div><div class="ttdeci">std::function&lt; void(void *buffer, void *context)&gt; BufferDestroyCallback</div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00038">Frame.hpp:38</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345afd7131a04efd09113d4bbda956d34a3f"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345afd7131a04efd09113d4bbda956d34a3f">OB_FRAME_DEPTH</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00201">ObTypes.h:201</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345a1b86d0b5c396fa511d1844acae6044fa"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345a1b86d0b5c396fa511d1844acae6044fa">OB_FRAME_ACCEL</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00202">ObTypes.h:202</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345ac922cae0440ba2aaf672ca230d19c75b"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345ac922cae0440ba2aaf672ca230d19c75b">OB_FRAME_POINTS</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00204">ObTypes.h:204</a></div></div>
<div class="ttc" id="classob_1_1GyroFrame_html"><div class="ttname"><a href="classob_1_1GyroFrame.html">ob::GyroFrame</a></div><div class="ttdoc">Define the GyroFrame class, which inherits from the Frame class. </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00400">Frame.hpp:400</a></div></div>
<div class="ttc" id="classob_1_1AccelFrame_html"><div class="ttname"><a href="classob_1_1AccelFrame.html">ob::AccelFrame</a></div><div class="ttdoc">Define the AccelFrame class, which inherits from the Frame class. </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00374">Frame.hpp:374</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345af12ee95e3a3735b7fe1b8edac31f1cb5"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345af12ee95e3a3735b7fe1b8edac31f1cb5">OB_FRAME_IR</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00199">ObTypes.h:199</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345">OBFrameType</a></div><div class="ttdeci">OBFrameType</div><div class="ttdoc">Enumeration value describing the type of frame. </div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00196">ObTypes.h:196</a></div></div>
<div class="ttc" id="classob_1_1Frame_html_ae6ce510d6e741d3f46ec34d475074b6f"><div class="ttname"><a href="classob_1_1Frame.html#ae6ce510d6e741d3f46ec34d475074b6f">ob::Frame::is</a></div><div class="ttdeci">bool is()</div><div class="ttdoc">Check if the runtime type of the frame object is compatible with a given type. </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00512">Frame.hpp:512</a></div></div>
<div class="ttc" id="classob_1_1ColorFrame_html"><div class="ttname"><a href="classob_1_1ColorFrame.html">ob::ColorFrame</a></div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00244">Frame.hpp:244</a></div></div>
<div class="ttc" id="ObTypes_8h_html_a42b4219d92627d3cf51af225ec58a345abd18356aa65d9f1990ed709dfab07f9e"><div class="ttname"><a href="ObTypes_8h.html#a42b4219d92627d3cf51af225ec58a345abd18356aa65d9f1990ed709dfab07f9e">OB_FRAME_SET</a></div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00203">ObTypes.h:203</a></div></div>
<div class="ttc" id="classob_1_1Pipeline_html"><div class="ttname"><a href="classob_1_1Pipeline.html">ob::Pipeline</a></div><div class="ttdef"><b>Definition:</b> <a href="Pipeline_8hpp_source.html#l00028">Pipeline.hpp:28</a></div></div>
<div class="ttc" id="classob_1_1FrameHelper_html"><div class="ttname"><a href="classob_1_1FrameHelper.html">ob::FrameHelper</a></div><div class="ttdoc">Define the FrameHelper class. </div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00438">Frame.hpp:438</a></div></div>
<div class="ttc" id="classob_1_1IRFrame_html"><div class="ttname"><a href="classob_1_1IRFrame.html">ob::IRFrame</a></div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00271">Frame.hpp:271</a></div></div>
<div class="ttc" id="classob_1_1DepthFrame_html"><div class="ttname"><a href="classob_1_1DepthFrame.html">ob::DepthFrame</a></div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00253">Frame.hpp:253</a></div></div>
<div class="ttc" id="classob_1_1Frame_html_a2683616ec8b3346cf9412051779b9721"><div class="ttname"><a href="classob_1_1Frame.html#a2683616ec8b3346cf9412051779b9721">ob::Frame::impl_</a></div><div class="ttdeci">std::unique_ptr&lt; FrameImpl &gt; impl_</div><div class="ttdef"><b>Definition:</b> <a href="Frame_8hpp_source.html#l00044">Frame.hpp:44</a></div></div>
<div class="ttc" id="ObTypes_8h_html_aa0add2ff45ff52cc75dc92d44f883fbf"><div class="ttname"><a href="ObTypes_8h.html#aa0add2ff45ff52cc75dc92d44f883fbf">OB_EXTENSION_API</a></div><div class="ttdeci">#define OB_EXTENSION_API</div><div class="ttdef"><b>Definition:</b> <a href="ObTypes_8h_source.html#l00028">ObTypes.h:28</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Apr 10 2025 12:28:22 for OrbbecSDK by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
